package com.rabbiter.fm.model;



import java.io.Serializable;
import java.sql.Timestamp;

public class LifeShowModel implements Serializable {

    private Long id; // 主键ID
    private String title; // 标题
    private String body; // 简介
    private String path; // 视频地址
    private String postUserName; // 发布人
    private Timestamp time; // 发布时间
    private long agree; // 是否审阅通过 1 通过 0 拒绝

    public long getAgree() {
        return agree;
    }

    @Override
    public String toString() {
        return "LifeShowModel{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", body='" + body + '\'' +
                ", path='" + path + '\'' +
                ", postUserName='" + postUserName + '\'' +
                ", time=" + time +
                ", agree=" + agree +
                '}';
    }

    public void setAgree(long agree) {
        this.agree = agree;
    }

    // Getter 和 Setter 方法
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getPostUserName() {
        return postUserName;
    }

    public void setPostUserName(String postUserName) {
        this.postUserName = postUserName;
    }

    public Timestamp getTime() {
        return time;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }
}